package monsters
{
	import org.flixel.*;

	public class Lefties extends FlxGroup
	{
		public function Lefties()
		{
			super();
		}
		
		public function addLefty(x:int, y:int):void
		{
			var tempLefty:Lefty = new Lefty(x, y);
				
			add(tempLefty);
		}
		
		override public function update():void
		{
			super.update();
		}
		
		public function change(controle:int):void
		{
			
			for (var i:int; i < this.members.length; i++ )
			{	
				var member:Lefty = this.members.shift();
				if (member != null) 
				{
						
					member.change(controle);
					this.members.push(member);
					
				}else 
				{
					i--;
				}
			}
		}
	}

}